package com.ruoyi.web.contract.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
 * 合同记录(Contract)表实体类
 *
 */
@SuppressWarnings("serial")
@Data
public class Contract extends Model<Contract> {
@TableId(type = IdType.AUTO)

    private Integer id;
    //标题
    private String title;
    //备注
    private String remark;
    //附件
    private String annex;
    //签署时间
    private String signtime;



    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

